generate views and controller to fix bugs.