fix regexp search