change small mistakes in helper.py