Bug resolve

forget to add an ! to the is_stop condition