fix build factory girl object failed