[minor] [fix] file attachment bug