fixed bug with idle callback listener
Merge pull request #8 from petesaia/master

fixed bug with idle callback listener