fixed some registers