change filterN to ignoreN option