fixed sudden container stop when upgrading