minor correction to socket listeners