issue #19 fix

Small fix for crash on iOS 7 beta 1 (issue #19).