temporary fix for file downloads