fixed the ridiculous low-level language glitches maybe