corrected best result selection