Fixed HUGE memory leak!