fix the panic when client side emits nil data