fixed UnicodeDecodeError on inline_css