fixed status method on routes.php