fixing tile id