fix pref path on share