fixes map unbind bug
Merge pull request #1015 from shiftplanning/unbindbug

fixes map unbind bug