don't leak functions on initialization