isolated the key typing problem