changed how retrieved media items are handled