Fixed the invalid apps