Critical bug fix

enumerate class name was conflicting with enumerate function I use.