fixed missing null check for intraday data