fix bug, when filter is null, linkage will not work