fix for previous regex