change hash parameters

* change parameters name in view
* change the way to use symbol