empty doc body before append