added resetExtraParams