fix loop split bug...