Fix iOS 8.0, fix issues with resources search