file downloads fix