fixed leak (#8)