handle nulls correctly
fix error display