fix issue 4 - bug fix with NULL columns