purify views
url route
add params to queries