fix old map bugs