Resource interpreted as Document error fixed by adding download to the a tag