Bug fix

Helper.py updated for bugfix