hotfix for isprime_I, write to the correct register