Fixes whatever the hell was happening