fixed the wierd problem with router params

It turnes out that accessing params through this.params is more
relaiable than using function arguments.