fix factor.create error