changed bytes conversion method