correct query expire time