improve ignore pattern