fix read negative