Fix for loop init error.