fix regEx result access