fixed bytecode buffer overflow