fixing map load method