fixed bugs with VIM and unicode