attempt to fix bug 3