Fixed all errors related to changes on go-nsq latest codes