fixes factorygirl problems