Fix crash when using listen to