fixed bug induced by typo