Fix netty bug