fixed objective error