fix ticket delete issue