fix problem with download for Firefox