Avoid crash in production environment