permanent fix for the crash. added the data capture event calls