make startup more robust