stupid bug found by pure fluke