fixing tm_net's return values

cleaning up