fixed namespace issue in the base controller