protect against crash in prd