fix the keys bug.