fixes up restarting containers