fix no method error
fix no method error in controller
update files