renamed FAILURE theme element to INVALID.