fix status filtering