fiexed some small pep8 and indentation issues