fix nsdictioinary property issue

When the property is kindofclass NSDictionary, the app will crash. this pull request fix that.