minor
fix some bugs introduced by Byte changes