Fix in storing of results