safe check for key
changes