Fixed partial trust issue.