fixing keys delete