Fix code to be complaint with pep8