fix typo on extend function
Merge pull request #33 from gonchuki/fix_typo

fix typo on extend function