attachments fixed after urls changed