Fixed bug after Netty upgrade.