I had made a mistake in the IDT registry part, where I managed to switch the reserved and flags parts around, fixing it seems to resolve the issue