fixed matching rule for alphabet name.