unicode fix, brevity and pep8 formatting