Bugfix

Fixing double regex gen