get rid of extra document line