minor bug in ticket controller