add down migration
remove error - '500 - Undefined variable: str'
1. polling -> new method of controller
2. delete all useless