upload directory to bucket fixes