GWT, fix idgen/secret