fix compile error caused by a typo