fix typo which caused params to be merged