Fix document title problem