fix loading indicator