fixes the file download issue in firefox