bug fix to network listener accept