minor fix realtime.py