fixed the multiple optima demo