change the style of the register error