do not return out of an while-each loop
avoid iterating over all prefixes
update to 20130402