activity indicator bug fix