updating to fix issue with tickets being an array