bug: every file in upload was pdf