fix realtime api use to match typo fix in the service