fixing secret key