Error solved in document display