fixed bug in start/stop