move the position of set encoding