fix to constructor in tcpreceiver