fixed bad key codes