a fix for AQL and cache
Merge pull request #271 from cjemagid/3.0-beta

a fix for AQL and cache