fixed bug 5298