fix: break out of for loop if match found