fix singleton dep sharing