fix go vet warnings