adds exception handling in case we get a non-valued item in a table row