adding null value check
HURLIB-16 minor additions to tableoutputformat more work needed