fixed libdhcore