fixed copying of data from return that was causing stats to not get updated.
print correct stuff at end.