getting directory syncing to work better