Fix ticket close