activity indicator now behaves as expected