correcting keyboard binding