Fix filepicker upload issue