fixed the adie_id versus adie integer and string problem