fix behaviour of Shared Dependencies