Fix bug caused by typo.