simplify wrong comments detection loop