error fixes for documentation