fix for loading indicator