fix:query after connect
improve