Fixing asyncdi, closes #360