Fixed result saving and displaying