fix routerfunc example