fix anti taint logic