Fixing tile substr issue -> new id system