guard against deleting non-existant key