fix a bug for hiding optimal solution
fix a bug for hiding optimal solution