fix some visual styles and UTF-8 encoding