fixed auto restart