fix a typo, writter -> writer