Fix ticket selling bug