changes for new go-nsq