add check for cell null or undefined - fix #8
Merge pull request #9 from jden/issue-8

add check for cell null or undefined - fix #8