fixed result history bug for first time runs