Add missing semicolon and break logic