Fixed some stuff on account of me being dumb.