search case insensitive and corrected syntax