fix spinner that was not disappearing