syntax error in cycles helper