changed some errors in helpers.py