Still don't know what this does but it fixed some stuff apparently...