fixed golint warnings.