bugfix

$route parameter is already defined. use is_null instead of isset.