bug fix and add read method