for #521, detect callback in _asyncMap