change check root to creat activity