bugfix removing shared source document