fixed value of params sent to view
fixed some docs