fixed issues downloading date format bug