db needs flushing before new queries.... strange