set ignorecacse and smartcase for search