fixed bug with idle callback listener