Fixed enumerate crash
Fixed enumerate crash