fix documentation errors