fix typo
Revert "partial fix #1199"

This reverts commit f4492a0d99f897e1d48a58696bbedf0c5c7a7ad1.