Fix environment configs