add ids to window and app results