clean invalid apps out of the existing app list