break outer loop if find
refined and added comment
fixed the issue like 埔里鎮