fixed filepicker attach image bug