fixes to multiple purchase events getting fired