output version in endless loop detecting