modified a async query