fixed some keyboard commands