fix bug: router next()