fixes problem, where mcp.mapdata is not correctly set