fixed issue with the factorygirl