fixed dtn2 compilation errors