bugfix in mapData