add 'set @extend' to extend variable space