cleaned debug lines
working ticket selector