fixed activity indicator some times did not disapear