fix home/end key mapping