remove query for view