some fixes to manage shares list in client