remove query command