destory app if all versions deleted