Avoid a potential crash upon startup