Whoops, left some debug code in