fix map data reading error