remove proot function from getchroot and createchroot