patch from @miriamdeana. fix params key