fix reindex while modify on the fly ID att of model element