fixed lot of shared objects issues