Fixing retrieve uploads sample