fixing documentation errors