minor fixes regex.