resolved 2 errors in documentation