fixed some code in tilemap