no longer leaking mini
0.5.1 removed global left over from debugging