[fix] unicode and pep8 fixes