pep8 optimization
remove useless condition