fix typo in stat method