diff --git a/doc/4-wildcard-repositories.mkd b/doc/4-wildcard-repositories.mkd
index 759367d..e9a506b 100644
--- a/doc/4-wildcard-repositories.mkd
+++ b/doc/4-wildcard-repositories.mkd
@@ -186,7 +186,7 @@ The following points are important:
### setting a gitweb description for a wildcard-matched repo
-Similar to the getperm/setperm commands, there are the getdesc/setdesc
+Similar to the getperms/setperms commands, there are the getdesc/setdesc
commands, thanks to Teemu.
diff --git a/doc/6-ssh-troubleshooting.mkd b/doc/6-ssh-troubleshooting.mkd
index 4589577..7ae6616 100644
--- a/doc/6-ssh-troubleshooting.mkd
+++ b/doc/6-ssh-troubleshooting.mkd
@@ -258,7 +258,7 @@ The second error happens if you use `git@server:repositories/reponame.git`
(assuming default `$REPO_BASE` setting) -- that is, you used the full unix
path. Since the "prefixing" mentioned above is not required, the shell finds
the repo and clones ok. But when you push, gitolite's **update hook** kicks
-in, and fails to run because you some of the environment variables it is
+in, and fails to run because some of the environment variables it is
expecting are not present.