fix for regexp