fix bug 938