fix tons documentation errors