clean up read/pread