added debug symbols to dd_deinit function
replaced debug symbols in dd_new function