fixed bug with map reloading
fixed bug with reload map