fix pending method
Merge pull request #7 from jettify/fix-consumer-pending-method

fix pending method