fixing loading indicator