Change index to short type