using shared for sharing data
fixing new location dir