fixed prefix match (was case sensitive)