Quick fix crash bug : issue #351

Quick fix for crash bug.
I don't know better correction for unsure Xcode class.