Update helpers.py

End fix