add case ignore support