Fixes a lot of shit.