Fixed a map bug