important regex bugfix