fix map showing bug