fix loading bar