fixed small bug in objectives