errors to warnings