modify base controller