cleaning up bytecode