resolved bug 2