improve consumer controller