fixed bugs in Bytes()