use production as default env for workaround