Added regex to deal with metamap error