Fixed the strange bug of repeating ambiguous objects.