Fix initialize filter bug