fixed a migration broken cause of before_action