updated build
query syntax error fix