fix secrets error