fixing keys