various document fixes