fix bug in download delegate saving