add log info & fix pep8
fix version num