undoing dynamic key