Fix a bug due to typo