disabled part of keyboard events