*: fix a few small issues identified by go vet