bug fix on map state links