properly pass primitives into action route