Fix annoying 'home' and 'end' characters