updated version compatibility of BaseActivity