bugfix regex