move ->index from common to editor