bug fix in active activities