correct cut point to avoid duplicate error messages