ran go vet, fixed issues