fixed the bug for displaying the filters