fix regEx bug