Fixed Search API for Mac App

Temporary fix of search api for Mac App