Fix bug in ios trackRevenue