fixed the duplication of sources in filters