fix BaseController