fix a spotlight integration issue