fix some go vet warnings