Fixes relational problem between pdict and params