fix bug for only has no filter