loading bar fix