fix a openning logic in findgtest