free memory! I found this problem 1 day after, idiot