handled case insensitive search in controller