comment out unused variable
reassign bytes if the memory is realloced