fix bug with empty symbols in iTerm

Add two-way convertion for fix bug with empty symbols in iTerm.