fixed bug where map threw exception when an attempt was made to find an absent key