Bugfixes with routes.php file