Fix `go vet` problems (#599)
Fix failed test
Merge pull request #611 from landr0id/fix-vet-problems

Fix "go vet" problems