Fixing Attachment URL type