freed a couple mallocs I forgot to free.