fixed cluster filtering bug