Prevent npe in prod.