modify map generator