remove alert-error formatting from warning text