fix dmon2 compile err