fix bug of issue 8134