fixes when all objective values are negative