minor bug fix for stop button