fix to make sure 'nothing pending' is emitted