catch map related exception