check for nil completion handler
Merge pull request #15 from contexthub/nil-bug

check for nil completion handler