improve ignore pattern in all levels