fix consumer poll()