fix go lint errors in util
Merge pull request #409 from nyaxt/fixlint2

fix go lint errors in util