Fixed bug - Download data API