fixing threading shared object Proj