Fixed some errors in Base_Controller