fixed bug in realtime map