didn't initialize loop id