some small bugs, when {esriOptions: true}.
- no reference exception
- early Query which is not right and don't needed.