fix documentation build warnings