Simple fix to help to debug upload attachments issues