remove unused code in simple-consumer