go fmt
just reading source, that looked like a bug.  tests are inadequate that this wasn't caught.  regression test would be nice.