[crash fix] fix crash in fast compile introduced recently.