small fix for the intraday API when no data return