fix bug caused by typo