Added fix_key_repeat