fixed form of in views and set params in controller