IE fix for download generation