Fixed bug 2872