fix for bytecode transformation