Reset the format on change