fix bytecode reference