fixed horrific crash nonsense. still doesn't work but there's no
double-free now!