fixed broken regular expression