Fixed map load bug