change parameters to dparameters for attachments