fixed explain analyze queries from the UI