Fixed all realtime events (15s) after 40min of debbugging.