issue with bytecode gen