Attachment is not getting parsed