add custom writter/reader fix #9