make notifications golint compliant