reformatet useing PEP styleguide
some small fixes