fix filters init logic