fixed keyboard controls to allow capslock