fixing keys edit