fixed a bug in opmize_cob: output of fmin passed incorrectly