fix missing secret problem