Fix validation buf in read.js