everything works now yay
fixed my seg fault