fix file download feature