oh! duh. i was redefining $params on line 79