fixed null typing error
Merge pull request #6 from coen-hyde/fix-null-typing

Fixed null typing error