fix undefined notice on basecontroller.class.php