working on first load realtime bug