In customActivity event the type is not received