modified missing value handling
Merge pull request #43 from sanity/missingValueFix

modified missing value handling