repair for not use absolute path
adjust pep8