fix error handled instances of key deletes