fix passing structure class to filtered list