remove some methods in controller