change a wrong else in utils.py