amended a couple of errors in the documentation