generate dummy spans if some local name is missing.