fixing realtime