Fixed some stuff but now it crashes and logs way too much