correction of doc display