bug fix: check if the bns exists before record bns: usefull when there is multi collector.bns