fix bug in stop method