fix start and stop visualization logic