diff --git a/src/main/java/services/moleculer/transporter/TcpTransporter.java b/src/main/java/services/moleculer/transporter/TcpTransporter.java
index <HASH>..<HASH> 100644
--- a/src/main/java/services/moleculer/transporter/TcpTransporter.java
+++ b/src/main/java/services/moleculer/transporter/TcpTransporter.java
@@ -815,7 +815,7 @@ public class TcpTransporter extends Transporter {
 				// 1 dead / (9 live + 1) = 0.10
 				// 5 dead / (5 live + 1) = 0.83
 				// 9 dead / (1 live + 1) = 4.50
-				double ratio = unreachableEndpointCount / (liveEndpointCount + 1);
+				double ratio = (double) unreachableEndpointCount / ((double) liveEndpointCount + 1);
 
 				// Random number between 0.0 and 1.0
 				double random = rnd.nextDouble();
diff --git a/src/main/java/services/moleculer/transporter/tcp/SendBuffer.java b/src/main/java/services/moleculer/transporter/tcp/SendBuffer.java
index <HASH>..<HASH> 100644
--- a/src/main/java/services/moleculer/transporter/tcp/SendBuffer.java
+++ b/src/main/java/services/moleculer/transporter/tcp/SendBuffer.java
@@ -122,8 +122,7 @@ public final class SendBuffer {
 

 	final boolean write(SocketChannel channel) throws Exception {

 		shift();

-		int bytes = channel.write(first);

-		System.out.println(bytes + " bytes submitted.");

+		channel.write(first);

 		return shift();

 	}
Fixes in gossiper's selector