fix bug 3696