fix out of index bug for reading /proc/stat on centos