be able to swallow validation errors even though they are in the last
line
fixed potential NPEs