fixed bug 198