Fix rope, pep8