some pyformat changes