cleanup, store clone command in index