fixing map algorithm