fix result summary for crossValidation and avoid variable overloading.