fixed bug 1763