secret key production fix