Fixed callback in saveresults