nBytes bug fixed