fixes occasional load bug