Fixed bug where it doesn't work after ticket update