fix validation error messages

The grid should now show nice error message instead of shocking on
invalid formulas