fix empty token and empty line for DocOnly