change to use casting config by default