bytes vs words bug fix