fixed bug 1748