i think you must keep `empty` - when the `if` above does not happen, $route will not be set and this line will generate a warning (depends on a php.ini setting)