fix read all bug