[FIX] bug with case-insensitive search