fixed AQL greedy token consumption