fixed bug in listen functions causing timestamps to always be 0