fixed a bug: read->readSync