modify index, but so ugly