fix break and continue for try inside loop