In customActivity event the type is not received

It seems that the type is overwritten by the titanium sdk somewhere