fixed loading bar wrapping