handle invalid market data id