[Fix] Stored params were overwriten in certain cases.