some DBN fixes