make recording golint compliant