Fix misuse of break