Fix params passing to view.html.php