api + small bug-fix in consumer
api + small bug-fix in consumer