fixed a bug of routing pk_regex.