fixed tiny bug regex