fix reg exp