Download API fix