fix aql errors
Merge pull request #300 from cjemagid/3.0-beta

fix aql errors