buggy keypress