fixing secret config