fix length filter visitor
simplify visitor signatures