fixed thread bug with routing regexp vectors
improved route-if regexp to store vectors