replace all at-error with at-warn