Cutting bad documents