fix for regex