fix empty query and web view