add factory girl version
fix state machine