params in controller fix