add query detection back
release 0.0.2