fix progress spinner working