fix warnings regarding dc