Fix to stop product crashing on startup.