updated errors in the docs