remove some useless comments
simplify ticket header filtering