use dispositiontype at attachment write