More random attempts at debugging