fixed ref to results