fixed params methods in controllers