fix reference to routeparams, #1