fixed extra ID bug