Fix bug in prod env.