fix where app NUll point
select quern ok
sendmessage ok