done for baseActivity