clear data on wrong query