add doc
fix `go vet` problems