fix bytecode detection, all tests green