fixed build-error in linux.
[bug-fix] decide read_at_once_ by the time reading.