fixing exchange.declare in config template