fix errors in doc