filter for active & complete