fixing weird indentation things in register