fixing the selected filter