#135 fixed issue with exception on no table headers

Resolves #135