fixed directories not being created in shared directory