remove inline style on register