Fix chain id