fixed extending of params