fix bug3