fix loading indication