bug fixed queryDoc == nil
Merge branch 'develop'