change version again to 1.0.0
fix some pep8 typo; add check when the server hava troubles