fix position and insert data on the map