fixed ctrl-a behavior by escaping char codes properly