fixed bug 633