overwrite poptoroot and poptoviewcontroller