all: fix some golint warnings