fix up start and stop state