Stopping error bug fix