fix spider num of variables