fix bug caused by prev commit