fixed some error for interpreting the regex