fix bug 3