return immediatly if there is no such key

closes: #2202