fixing the problem with querying yet again.