fix bug that filter-map fails when called with multiple clists