cleaning code after ticket preview refactoring