ticket:4 pep8
ticket:4 fix global settings