corrected sign error in _objective