trying to fix bytecode problem