maybe fixed attempt to modify a key