Tried to fix minimizer. Did not work