fixed go vet warnings