start using factory and libfac version 3.1.1
