bug fixed file download