fix for issue #439 - it wasn't report existing key properly