Fix: making param dict local again