[BUGFIX] Hook must use unset $params not reset