modify best result, fix bugs