fix some map_path override issues