download api fix