set default directory index