add hash conversion in visual mode