modify the register style