Fixed result name handling