Fix bug in ticket