fix consumer leak