fix qiery
Merge branch 'develop' into 1.x-stable