Fixed the loop... again...