fix error in watch command