fixed non-ARC crash when used via cocoapods