set placeholder index