bugfix regex matches