fixing regular expression