fix bug caused by previous update