remved getParams