sharing cleanup