adjusted debug output messages for tracking the limit on allowed repairs