corrected filter toggle