fixed UI and updated consumer.java with fixed XML