typed out a literal chain name instead of $chain