fixed little bug in regex.