more logging
autopep8 fix