#17657 remove unnecessary set inactive