fix id and line name map