Change some errrors to warnings