bugfix

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