Some bugfixes

+ insensitve
+ regex bugfix
+ reset before search