prevent mem leakage
seems to silence weird warnings
cleaner output