fixed wrong value on filter conditions