avoid gs in ending time