remove secret checking