fixed bug with loading task bar