Fix type `wsg` => `wgs`, thanks to @rbovard to report it.

Fix #739