Fixed result generation.