fixed a problem w/ regex