fix #7049, regression due to aff4f88bc9a772ee67e90afbda2984a69e08b72c