fix the coredump bug in HFDP/facade