fixed bug 1106