removing unused params in controller