fixes load bug