fixed secrets loader