clear document